added username and database