Added badge time functionality to end points