fixes login validations