Registration and Authentication

Added registration.
Finishing authentication.
Both currently using a Hashtable.