finished implementing logout and change password functionality