Feature/login

Implented sessions management and password reset.