Complete sign in functionality.