got the angular login button to not crash