starting to move login and logout into angular