moved the check login status function to the html page as part of fb init on the login page