* Added some checks for tooltip's behaviour when using search so tooltip
wont disappear irregularly and can be shown again by clicking search
icon
* Some formatting for login.js