Getting user ID

Using your code - It works fine for me. Please provide more information.