added a check for properties in object to check for empty
added check for email or password empty string
removed a comment
add the aps object if the paranted object doesn't already have one
removed collection from user query since its not necessary
forgot I was writing javascript for a second
made the parseError case match the rest of the callback signatures