added login page validation

added some small javascript effect