fixing broken tests
adding more comments in user controller explaining method functions