Changed edit profile to use the output library (not tested, since login does not work yet)
integrated output library for purchase buttons