User Api

Fix bug with sessions
User login/logout interface
Rendering name and image with on login js

Some styling
Comment for configuration
Users automtata

bugfix