Add hashing for login and registration

Signed-off-by: Atanas Kerezov <kerezov.atanas@gmail.com>