finished validation and errors, all works for login