changed activity retrieval for homepage