register, login, logout are done