consolidate account and profile view to keep things dry