myprofile and small formatting

change log:
- fixed some of the queries for myprofile tables
- small changes to web layout