Redirect back to /login when user.json doesn't respond with userdata
Remove localstorage items on error
Merge pull request #62 from atlasapi/catch-400-errors

Redirect back to /login when user.json doesn't respond with userdata