adding bug fixes for user addition/deletion