Gilani moves into presidency for security reasons