Update user_controller.php

trim username and password