Added a session security table.
Changes in the core.
Implemented the login