Added login methods. Not yet tested
Login is now working