Finished the basics of login class

Not fully finished but in a working state
to continue the rest of the program.