Validation of login page, sample tutorial page

added some alerts as well