Made changes to get_user_space