added functions for creating user and group