Refactor to store user profile information in the Session instead of looking it up every time.