Must work with password
Decorator for checking passwords