Replaced auth with promises based auth
Added authentication example using mongoose