added login, should work now