Finished the registration.Added encryption to the passwords in the users collection