Remember me

I've replaced session cookies with local storage / session storage in order to implement a remember me functionality.