Changed one of the login calls... removed success/error from controller and replaced with then... updated factory to stay in synch