Add sign in user interface.
Add sign in function.