Registration

The registration login was completed here, added repopulation of forma
data, hashing of the password, and checking if a user already existed n
the database.