adds session tracking to see if a user is already logged in, and if so loads the user and his projects