Hooking up sign in UI to functions