Added encrypt key for session use

Added encryption key to config.php required to use session library.
Changed passed variable for points data

Changed value being passed to getPoints to use sessions.