Added login tpl setting so that user can easily change the tpl used for login page.
Added helper for Dropdown.
Firing the event of login instead of calling the function directly.
Handled the login event and setting session there.
Fixed the merge issue