Logging in on management console

-Fixed bug when current time was out of normal class times.
-Added logging in and adding user to management console.
-Adding hashes the password and adds it to database
-Logging in retrieves hash and checks it against entered
password.