changed session management to database.