Added user and session pages and authentication.