added some css and javascript to check the user