to access database data by calling a function do i just use 'include'? can i use session for calling a function?