Check login before querying user id
Initial commit