Showing errors in register and login controller (Front)