profile page and other small fixes