added test 'if user is admin and logged in'