prevented login features to be shown to non-logged in users