Hide user buttons if not logged in
Check for user and user.profile before checking for email..