have login/logout part working