Implement user login/logout
Store interactive input state in localStorage
Remove trailing whitespace