session functions added - not working