Claim baised auth and test fix
small changes in user managment