Session management and users database implemented.