got sessions to work; connection to db established