signup: fix the connection with database