tidy up methods. protect updatemeuser by making it a classmethod