Fix small bugs

* Fix bug with user profiles
* Fix bug with overload mainpage title from module static_on_main