Added model (model driven approach) to the login action