I have two request GET /user/login for render a login page and POST /user/login for login. Is there any way to handle this except: ``` loginAction: function() { if (this.isGet()) { // render login page } else if (this.isPost()) { // process login request } } ```