userId is also put in the rootscope at login. This will make it easier to do context sensitive backend requests