Added client and server code to sign-up and sign-in