moved script to user page, now draw functions does not need to get email and isadmin, modifydate php will handle this