The following is a basic construct of a custom query loop with properly functioning pagination functions:
Username
Password
Remember Me
Email
Username or Email