Used switch case to Reuse network call. Shows users profile pictures/names