edit and add new pills page - v1 by Ty