reconfiguring session settings for longer sessions, and storing them in DB