Fixing bug where user is already logged in status is not returned...