added database link
added db code