Alright, thank you. Where abouts would I go to make sure the username field is unique instead of checking?
There are also not many errors that I have setup seeming I am unsure how to echo those properly. I would like to echo some sort of thing when user has entered invalid username or password. You can test this live at HeartFX by just putting in any username and password that would be non-existent and once you do that and try to login, all it does is reload the module instead of displaying an error someplace in the module to inform the user.
You can view the entire source code of the login/registration system with the pastebin created here.