initial html and fetching from database done