modified user param to accept name,email,password so that a new user can be successfully created from the webpage