Login page remake. Valid error handling