added activities view, edited avatar method