register with DataBase,fixed Session synchronization