make sign-in page work