add low register, login, logout functionality