fixed login, search form, widgets and functions