added login, register