add a login page as a sample code