added username and rename checkbox to cookie