Continue to implement dataaccess and hook up javascript logic