Added server function to determine if user is logged in.
Trying to return a filtered user object when checking to see if user is logged in.