Overwrite existing session function
Delete unnecessary vars