Add getVersion method to compare backend and frontend version compatibility