Check if logged in fix
Check if logged in fix