Added database connections. Form now gets value from database