Try to ensure logged in user exists in db only when user is logged in