Signup modal functionality and error handling