added a sort of login