Private login method broken, added public login option