added fucntionality to people page