Added validation on login + errormessages