Addition of remember me check box, and general code orginization.