removed unessisary functions and variables that were established during intial attempts to create session persisting variables