Registration and password encoding

Created registration page to save encoded password and password
validation while login.