add mutliple features with javascript login page