enforce user login check in take_upload and take_edit

finish can_edit() function in check_login.php

Testing await