Finished Login System

Finished the login system. Errors now display properly.