Fixed the new autologin for the graph link and edit link