Users authentication almost working.