Added check to see if user is logged in at APP startup