connect buttons in login page