Checks login status of a user based on various browser hacks