Implemented user registration and database interaction for get and store...

... email creadentials.