saving signup data to db