userDetails declared as User