database connectivity and signup design