More refactoring as I learn more Angular and remember decent javascript. Changes to sign-in to handle errors properly, setting cookies via angular (may be pointless but nice to learn), quick change to service to not set the userid cookie