Completed login functions and added other classes

Credits go to "ipsq" for releasing a usable framework