An Authenticate function that will parse the session cookie and return a user if valid