Added one check for duplicate signup. Now server gives
status code 409 if signup is duplicate.