Bind event handler on login button