Login now takes in named parameters on object rather than function parameters to keep it consistent and make js code easier to read.