Changed syntax convention to assignment
Use $cookies instead of $cookieStore
Check login on init and set public variable
Remove userid parameter from REST functions
Set vet.id for existing vets
Set user on enterUser
Return user after put
Change error syntax