code repair.

command code-check option -r

to repair broken php code.
code-fixer

change inline comments

add headlines

functions.php

get_user_by_name()

fixed sql query, it doesnt get all records, just needed.