changed check.php

it will now return the current user's username if there is a cookie of a
current user being logged in or it will return false if there is no
cookie