#fb: turned user.loginStatus into a promise