just moved stuff around don't worry about this
Almost Fully working, Needs to prevent duplicate entry into database on the server so that when a failed login occurs, it goes to the second else if so it allows you to bring back the text field to try again.
Server is almost complete, an easy fix to the crashing error, would be to not allow duplicate entry into the database.
update on what finish or needs testing