I have user validation in my component mounted function but it seems it doesn\'t act properly.
mounted