Added validation message to login post method