changes indentation and class bracketing in functions.php
moves convert_rank() into User class