         @.identified = true
         id = @.getUserPilotId(data)
         timestamp = Date.now()
+        hasPaidPlan = @.hasPaidPlan(data)
         userpilotData = {
             name: data["full_name_display"],
             email: data["email"],

                    userpilotData["id"],
                    userpilotData["extraData"]
                )
                if userpilotData["id"] > 1
                    @.setZendekState()




        return {"id": id, "extraData": userpilotData}

    hasPaidPlan: (data) ->
        maxPrivateProjects = parseInt(data["max_private_projects"], 10)
        return maxPrivateProjects != 1

    getUserPilotId: (data) ->
        joined = new Date(data["date_joined"])

        if (joined > @.getJoinedLimit()) or @.hasPaidPlan(data)
            return parseInt(data["id"], 10)

        return 1

    getJoinedLimit: ->
        limit = new Date
