Added the verify function check

Still need to work on the client and file side