added LoggedActivity.java