Hash login

I have added the login part into spark lib. I also incorporated the hashing into this. Thus we now store hashed passwords instead of clear text.