check if logged in on front end