Added user session functionality with login / logout endpoints