Added UI to register activity