Removes unused code

The session is properly handled by the localStorage, no need for logic here...