add db connection for user registration