Added function signup on the client side.