Added authenticate user