login addon and controller stuff