cleaning up functions/member page