rename user to email, add function to check whether user is logged in
check if user is not logged in, and show ad if not