provides a way to check it the admin user is logged in and is in the front end

note, this will be helpful to the action of login is as a user