integrates profile page with server

fixes #43