Added Register Logic

Added methods and queries for database.
Improved RegisterPanel, LoginPanel

Known issue:
Password is a Char[], should be handled differently