Added decorators for sql session and session
merged