session logic added
user session implemented