still converting to angular - finshed the login/logout functionality