Store user_id into browser's localstorage when signup/login succeeds

This pull request includes changes that allow us to store user id into browser's local stroage so that we can use it to retrieve other info such as proximity index, location for that user.

cc: @jjmerino, @kmeurer, @jamesongamble, @suprbh