I want to change the login field from username to email.
Yes, you can. Goto Project > Settings > View > Login by, then check the "User Email" option.
*To create the code section, use <code>your code</code> and to create the link, use <a>your link url</a>