made changes to user and session