Tag search and tag bugfix

Tags search implemented and some bugs fixed concerning
tags in user profile, also hostname related bugs