check if user is logged in in user list and user info templates