added method to get the user id