Add sign-in functionality.