Check logged user

Check that the current user is logged and active