Set character encoding as UTF-8 and create login controller