added function of adding new users and javascript clock