Refactored spray code to map directive formFields to object LoginUser