Changed to hashing on client side

On login or signup, password is hashed on the client side instead of at
the server.