added view profiles and view teacher profiles