Refactor: move user signin validations from controler to special class.