             user = @model.make_model("users", user)
 
             @.setUser(user)
+            @rootscope.broadcast("auth:refresh", user)
             return user
 
     login: (data, type) ->

            user = @model.make_model("users", response.data)
            @.setToken(user.auth_token)
            @.setUser(user)
            return user

    getInvitation: (token) ->

            user = @model.make_model("users", data.data)
            @.setToken(user.auth_token)
            @.setUser(user)
            @rootscope.broadcast("auth:login", user)
            return user

    logout: ->
