bug fixes registration/adding users