added some session variables and store to the User database table