Update user.php

@return types for documentator