Added a login page to the sample.