Implemented Error Checking for Sign In / Register