Fixed user signup, added comments to explain the purpose of each handler