Fixed signup page and did checks for error catching.