Change resolve of login and signup to include status and error as object