Added user list sort
Changed authentication to be synchronized  instead of async