Implemented interface through mainactivity and time in logindetails