Added controller code to handle Resource Owner Password Grant