login, register, logout all functional