snipped it only loaded when no user is logged in