added profile pages and tests