add habit details implementation