Functions to get user's id and address