Changed logout function to clear all localstorage, if the user was to logout and log back in under another name it would keep the current links and would be confusing.