Get user_id in edit view