sign in, password reset, password change

Implented sessions management and password reset.
this spec is pending.